<html>
<head>
    <meta charset="utf-8">
    <title>双色球</title>
    <style>
        figure{display: block;background: black;border-radius: 50%;height:40px;line-height: 35px;width: 40px;margin: 20px 5px;float:left;text-align: center;color: #FFFFFF;font-weight:bolder;}
        .red{
            background: -webkit-radial-gradient(10px 10px,circle,red,#000000);

        }
        .blue{

            background: -webkit-radial-gradient(10px 10px,circle,#000FFF,#000000);


        }
    </style>
</head>
<body>
<?php
$red_num=range(1,33);
$keys=array_rand($red_num,6);
shuffle($keys);
foreach ($keys as $V){
    $red[]=$red_num[$V]<10?('0'.$red_num[$V]): $red_num[$V];}
    $blue_num=rand(1,16);
    $blue=$blue_num<10?('0'.$blue_num):$blue_num;
foreach ($red as $V){
    echo"<figure class='red'>$V</figure>";
}
echo "<figure class=\"blue\">$blue</figure>"

?>
</body>
</html>


